import Vue from 'vue'
import Router from 'vue-router'
import MyHttp from '@/plugins/http'

// @ -> src 框架会将@指向src目录，自动寻找组件
import Login from '@/components/Login/Login'

Vue.use(Router)
Vue.use(MyHttp)

export default new Router({
  routes: [
    {
      path: '/login',
      name: 'login',
      component: Login
    }
  ]
})
